import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
//导入全局css文件
import '@/assets/css/global.css';
import {SERVER_API_IP} from '@/config/index'
import axios from 'axios';
Vue.config.productionTip = false
//设置axios根路径
axios.defaults.baseURL = SERVER_API_IP;
//将axios对象绑定到Vue原型上
Vue.prototype.$http = axios;
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
